<?php
header("Pragma: no-cache");
header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
header('Content-Type: text/x-json');
header('Content-type: application/json');
if($isFound>0){
	//转为一维数组再输出
	$out=array();
	foreach ($list as $v){
		$out[]=array("value"=>$v["Customer"]["id"],"label"=>$v["Customer"]["first_name"]." ".$v["Customer"]["last_name"]);
	}
	echo json_encode($out);
}else{
	echo $isFound;
}
?>